/**
 * 
 */
package org.mspring.crm.convert;

/**
 * @author Gao Youbo
 * @since 2012-3-6
 * 
 */
public interface Convert<X, Y> {
    public X convertToEntity(Y y) throws Exception;

    public Y convertToModel(X x) throws Exception;
}
